package com.luoc.spring.service.impl;

import com.luoc.spring.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class OrderServiceImpl implements OrderService {
    @Autowired
    public ProductServiceImpl productService;
    public String getOrder(Long id) {
        return "订单：" + id+";"+productService.getProduct("21332");
    }
}
